package com.sinocare.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("scc_menu")
public class Menu implements Serializable {
    private static final long serialVersionUID = 8088689139157066383L;
    @TableId(value = "menu_id",type = IdType.AUTO)
    private Integer menuId;     //菜单id
    private String  menuName;   //菜单名称
    @TableField(value = "p_id")
    private Integer pId;        //父菜单id
    private String  url;        //菜单路径
    private Integer seq;
    private Integer status;
    private String createTime;
    private String updateTime;
    @TableField(value = "type")
    private String type;        //菜单类型
    private String remark;      //备注
}
